package main.composantesJeu;

public class Jeu {
    private int pointageEquipe1 = 0;
    private int pointageEquipe2 = 0;

    public int getPointageEquipe1() {
	return pointageEquipe1;
    }

    public int getPointageEquipe2() {
	return pointageEquipe2;
    }

    public void setPointageEquipe1(int pointage) {
	pointageEquipe1 = pointage;
    }

    public void setPointageEquipe2(int pointage) {
	pointageEquipe2 = pointage;
    }

    public void incPointageEquipe1() {
	if (pointageEquipe1 < 30)
	    pointageEquipe1 += 15;
	else
	    pointageEquipe1 += 10;
    }

    public void incPointageEquipe2() {
	if (pointageEquipe2 < 30)
	    pointageEquipe2 += 15;
	else
	    pointageEquipe2 += 10;
    }
}